home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Extra 1996 #3 / AmigaPlus_CD-ROM-EXTRA_Nr.3.bin / aminet-spiele / role on / larn / monsters.h < prev    next >
C/C++ Source or Header  |  1997-12-31  |  2KB  |  86 lines

  1. /*
  2.   Monster related definitions
  3. */
  4.  
  5. #define MAXMONST 56     /* maximum # monsters in the dungeon   */
  6.  
  7. /*  this is the structure definition of the monster data
  8. */
  9. struct monst
  10.     {
  11.     char    *name;
  12.     char    level;
  13.     short   armorclass;
  14.     char    damage;
  15.     char    attack;
  16.     char    defense;
  17.     char    genocided;
  18.     char    intelligence; /* monsters intelligence -- used to choose movement */
  19.     short   gold;
  20.     short   hitpoints;
  21.     unsigned long experience;
  22.     };
  23.  
  24. extern struct monst monster[];
  25.  
  26. /*  defines for the monsters as objects     
  27. */
  28. #define BAT 1
  29. #define GNOME 2
  30. #define HOBGOBLIN 3
  31. #define JACKAL 4
  32. #define KOBOLD 5
  33. #define ORC 6
  34. #define SNAKE 7
  35. #define CENTIPEDE 8
  36. #define JACULI 9
  37. #define TROGLODYTE 10
  38. #define ANT 11
  39. #define EYE 12 
  40. #define LEPRECHAUN 13
  41. #define NYMPH 14
  42. #define QUASIT 15 
  43. #define RUSTMONSTER 16 
  44. #define ZOMBIE 17 
  45. #define ASSASSINBUG 18 
  46. #define BUGBEAR 19 
  47. #define HELLHOUND 20 
  48. #define ICELIZARD 21 
  49. #define CENTAUR 22 
  50. #define TROLL 23 
  51. #define YETI 24 
  52. #define WHITEDRAGON 25
  53. #define ELF 26
  54. #define CUBE 27 
  55. #define METAMORPH 28 
  56. #define VORTEX 29 
  57. #define ZILLER 30 
  58. #define VIOLETFUNGI 31 
  59. #define WRAITH 32 
  60. #define FORVALAKA 33 
  61. #define LAMANOBE 34 
  62. #define OSEQUIP 35 
  63. #define ROTHE 36
  64. #define XORN 37
  65. #define VAMPIRE 38
  66. #define INVISIBLESTALKER 39
  67. #define POLTERGEIST 40
  68. #define DISENCHANTRESS 41
  69. #define SHAMBLINGMOUND 42
  70. #define YELLOWMOLD 43
  71. #define UMBERHULK 44
  72. #define GNOMEKING 45
  73. #define MIMIC 46
  74. #define WATERLORD 47
  75. #define BRONZEDRAGON 48
  76. #define GREENDRAGON 49
  77. #define PURPLEWORM 50
  78. #define XVART 51
  79. #define SPIRITNAGA 52
  80. #define SILVERDRAGON 53
  81. #define PLATINUMDRAGON 54
  82. #define GREENURCHIN 55
  83. #define REDDRAGON 56
  84. #define DEMONLORD 57
  85. #define DEMONPRINCE 64
  86.